<?php
namespace app\common\validate;
use think\Validate;
use think\Request;
class Cartype extends Validate{
    protected $rule =   [
        'title'   => 'require', 
    ];

    protected $message  =   [
        'title.require'   => '名称不能为空',
    ];
}